package com.ruoyi.tester.executor.http;

import java.util.Map;

/**
 * @author SongJun
 * @description TODO:
 * @date 2022/5/30 11:11
 */
public class XzfHttpResult {
    private boolean success;
    private Integer status;
    private String body;
    private Map<String, String> headers;

    public XzfHttpResult(boolean success, Integer status, String body, Map<String, String> headers) {
        this.success = success;
        this.status = status;
        this.body = body;
        this.headers = headers;
    }

    public boolean isSuccess() {
        return success;
    }

    public Integer getStatus() {
        return status;
    }

    public String getBody() {
        return body;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }
}
